home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb.new / gdb-4.0 / bfd / doc / coffcode.p < prev    next >
Encoding:
Text File  |  1991-09-29  |  1.0 KB  |  70 lines

  1.  
  2. /*
  3. The hidden information for an asymbol is:
  4. */
  5.  
  6.  typedef struct coff_ptr_struct
  7.  {
  8.  
  9. /*
  10. Remembers the offset from the first symbol in the file for this
  11. symbol. Generated by @code{coff_renumber_symbols}.
  12. */
  13.  
  14.    unsigned int offset;
  15.  
  16. /*
  17. Should the tag field of this symbol be renumbered.
  18. Created by @code{coff_pointerize_aux}.
  19. */
  20.  
  21.    char fix_tag;
  22.  
  23. /*
  24. Should the endidx field of this symbol be renumbered.
  25. Created by @code{coff_pointerize_aux}.
  26. */
  27.  
  28.    char fix_end;
  29.  
  30. /*
  31. The container for the symbol structure as read and translated from the file.
  32. */
  33.  
  34.    union {
  35.      union internal_auxent auxent;
  36.      struct internal_syment syment;
  37.    } u;
  38.  } combined_entry_type;
  39.  
  40. /*
  41.  
  42. Each canonical asymbol really looks like this:
  43. */
  44.  
  45.  typedef struct coff_symbol_struct
  46.  {
  47.  
  48. /*
  49. The actual symbol which the rest of BFD works with
  50. */
  51.  
  52.    asymbol symbol;
  53.  
  54. /*
  55. A pointer to the hidden information for this symbol
  56. */
  57.  
  58.    combined_entry_type *native;
  59.  
  60. /*
  61. A pointer to the linenumber information for this symbol
  62. */
  63.  
  64.    struct lineno_cache_entry *lineno;
  65.  } coff_symbol_type;
  66.  
  67. /*
  68. */
  69.  
  70.